package cn.sc.allinpay.allfavour.business.common.data;

import android.os.Parcel;
import android.os.Parcelable;

public class OrderPaymentInfo implements Parcelable {
    public OrderPaymentInfo() {
    }

    protected OrderPaymentInfo(Parcel in) {
        bankAcctName = in.readString();
        bankAcctType = in.readString();
        bankAcctNo = in.readString();
        bankName = in.readString();
        transReferenceNo = in.readString();
        trxId = in.readString();
        orderId = in.readInt();
        paymentAmount = in.readString();
        paymentFrom = in.readInt();
        paymentMethod = in.readInt();
        paymentTime = in.readString();
        voucherNo = in.readString();
    }

    public static final Creator<OrderPaymentInfo> CREATOR = new Creator<OrderPaymentInfo>() {
        @Override
        public OrderPaymentInfo createFromParcel(Parcel in) {
            return new OrderPaymentInfo(in);
        }

        @Override
        public OrderPaymentInfo[] newArray(int size) {
            return new OrderPaymentInfo[size];
        }
    };

    public String getBankAcctName() {
        return bankAcctName;
    }

    public void setBankAcctName(String bankAcctName) {
        this.bankAcctName = bankAcctName;
    }

    public String getBankAcctType() {
        return bankAcctType;
    }

    public void setBankAcctType(String bankAcctType) {
        this.bankAcctType = bankAcctType;
    }

    public String getBankAcctNo() {
        return bankAcctNo;
    }

    public void setBankAcctNo(String bankAcctNo) {
        this.bankAcctNo = bankAcctNo;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getTransReferenceNo() {
        return transReferenceNo;
    }

    public void setTransReferenceNo(String transReferenceNo) {
        this.transReferenceNo = transReferenceNo;
    }

    public String getTrxId() {
        return trxId;
    }

    public void setTrxId(String trxId) {
        this.trxId = trxId;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public String getPaymentAmount() {
        return paymentAmount;
    }

    public void setPaymentAmount(String paymentAmount) {
        this.paymentAmount = paymentAmount;
    }

    public int getPaymentFrom() {
        return paymentFrom;
    }

    public void setPaymentFrom(int paymentFrom) {
        this.paymentFrom = paymentFrom;
    }

    public int getPaymentMethod() {
        return paymentMethod;
    }

    public void setPaymentMethod(int paymentMethod) {
        this.paymentMethod = paymentMethod;
    }

    public String getPaymentTime() {
        return paymentTime;
    }

    public void setPaymentTime(String paymentTime) {
        this.paymentTime = paymentTime;
    }

    public String getVoucherNo() {
        return voucherNo;
    }

    public void setVoucherNo(String voucherNo) {
        this.voucherNo = voucherNo;
    }

    private String bankAcctName;
    private String bankAcctType;
    private String bankAcctNo;
    private String bankName;
    private String transReferenceNo;
    private String trxId;
    private int orderId;
    private String paymentAmount;
    private int paymentFrom;
    private int paymentMethod;
    private String paymentTime;
    private String voucherNo;

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeString(bankAcctName);
        parcel.writeString(bankAcctType);
        parcel.writeString(bankAcctNo);
        parcel.writeString(bankName);
        parcel.writeString(transReferenceNo);
        parcel.writeString(trxId);
        parcel.writeInt(orderId);
        parcel.writeString(paymentAmount);
        parcel.writeInt(paymentFrom);
        parcel.writeInt(paymentMethod);
        parcel.writeString(paymentTime);
        parcel.writeString(voucherNo);
    }
}